package com.ds.components.composite;

import com.ds.components.grid.AbstractDisplayGrid;
import com.ds.components.grid.DisplayGrid;

import javax.swing.*;
import java.awt.*;

public class GridBar extends ComponentBar
{
	public AbstractDisplayGrid grid;

	public GridBar()
	{
		this.grid = new DisplayGrid();
	}

	public JComponent getMainContainer()
	{
		super.getMainContainer();

		this.contents.add( grid, BorderLayout.CENTER );

		return this.contents;
	}
}
